package com.oracle.lingshangejia.activity;

import android.view.View;
import android.widget.ImageButton;
import android.widget.TextView;

import com.oracle.lingshangejia.R;
import com.oracle.lingshangejia.base.BaseActivity;

import java.awt.font.TextAttribute;

/**
 * 外勤任务详情
 */
public class FieldDutyActivity extends BaseActivity implements View.OnClickListener {
    private TextView tv_title;
    private ImageButton ib_back;
    @Override
    public int intiLayout() {
        return R.layout.activity_fieldduty;
    }

    @Override
    public void initView() {
        tv_title=findViewById(R.id.tv_title);
        ib_back=findViewById(R.id.ib_back);
        ib_back.setOnClickListener(this);
        tv_title.setText("任务详情");
    }

    @Override
    public void initData() {

    }

    @Override
    public void onClick(View v) {
        switch (v.getId()){
            case R.id.ib_back:
                finish();
                break;
        }
    }
}
